using UnityEngine;

public class ButtonToBattle : MonoBehaviour
{
	[SerializeField]
	private GameObject bonusAward;

	private void Start()
	{
		if (!(BonusAwardManager.instance != null))
		{
			return;
		}
		foreach (TypeGame item in BonusAwardManager.instance.BonusAwardConfig)
		{
			if (BonusAwardManager.instance.IsSetBonus(item))
			{
				bonusAward.SetActive(true);
			}
		}
	}
}
